using System.ComponentModel.DataAnnotations;
using System.Data.Entity.ModelConfiguration;

namespace NetworkPower.DataModel.Models.Mapping
{
    public class SeperatorTypeValueMap : EntityTypeConfiguration<SeperatorTypeValue>
    {
        public SeperatorTypeValueMap()
        {
            // Primary Key
            this.HasKey(t => t.ID);

            // Properties
            // Table & Column Mappings
            this.ToTable("SeperatorTypeValues");
            this.Property(t => t.ID).HasColumnName("ID");
            this.Property(t => t.SeperatorTypeValues).HasColumnName("SeperatorTypeValues");
        }
    }
}
